﻿using System;
using System.Data;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Dal;
using Dtl;

namespace Bll
{
   public class RoleGrantBlo
    {
       public static int setRoleGrantt(Role role, List<RoleGrant> RoleGrant) 
       {
           return RoleGrantDao.setRoleGrantt(role, RoleGrant);
       }

       public static DataSet getObjects()
       {
           return RoleGrantDao.getObjects();
       }

       public static DataSet getObjectsByRole(string cdRole) 
       {
           return RoleGrantDao.getObjectsByRole(cdRole);
       }
    }
}
